package com.ibeetl.admin.api.dao;

import com.ibeetl.admin.api.entity.Travel_attractions;
import com.ibeetl.admin.api.entity.Travel_attractions_line;
import org.beetl.sql.mapper.BaseMapper;
import org.beetl.sql.mapper.annotation.SqlResource;
import org.beetl.sql.mapper.annotation.Update;

import java.util.Date;
import java.util.List;

@SqlResource("api.travelAttractions")
public interface TravelAttractionsDao  extends BaseMapper<Travel_attractions> {
    List<Travel_attractions> queryByUserId(long userId);
    @Update
    void updateState(Long atts_id, int state, Date update_dt);

    List<Long> queryNewIdByUserId(Long userId);

    List<Travel_attractions> queryByAttractionId(Long attractionId);

    List<String> queryAllFilePath(long attsId);
}
